package org.puresource.web.config;

import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.ComponentScan.Filter;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.FilterType;
import org.springframework.context.annotation.ImportResource;
import org.springframework.web.servlet.config.annotation.EnableWebMvc;

/**
 * 业务bean配置
 * 
 * @author Young
 *
 */
@Configuration
@ComponentScan(basePackages = { "org.puresource" }, excludeFilters = { @Filter(type = FilterType.ANNOTATION, value = EnableWebMvc.class) })
@ImportResource(locations = { "classpath*:config/application-context.xml" })
public class WebApplicationConfig {
}
